/**
 * Functions specific to managing Yahoo maps
 * @param   void
 * @return  void
 */
Maps.Manager.Yahoo = function() {
  this.parent();
};

/**
 * @extends   maps.MapManager
 */
Maps.Manager.Common.extending = true;
Maps.Manager.Yahoo.prototype = new Maps.Manager.Common();
Maps.Manager.Common.extending = false;

Maps.Manager.Yahoo.prototype.parent = Maps.Manager.Common;

/**
 * Gets an HTML tag Id for a Google map.
 * @access  public
 * @param   object  Google map object
 * @return  string  HTML tag Id of Google map
 */
Maps.Manager.Yahoo.prototype.getMapId = function(map) {
  return map.getElement().id;
};

/**
 * Determines browser support
 * @access  public
 * @param   void
 * @return  bool    True if browser is supported
 */
Maps.Manager.Yahoo.prototype.isSupported = function() {
  if (this.supported === null) {
    this.supported = !!YMap;
  }
  return this.supported;
};
